#define _CRT_SECURE_NO_WARNINGS 1

#include "queue.h"

int main()
{
	Queue q;
	QInit(&q);

	QPush(&q, 1);
	QPush(&q, 2);
	QPush(&q, 3);
	QPush(&q, 4);
	QPush(&q, 5);

	/*while (!QEmpty(&q))
	{
		printf("%d ", QFront(&q));
		QPop(&q);
	}
	printf("\n");*/

	//int ret = QSize(&q);
	//int ret = QEmpty(&q);
	//int ret = QFront(&q);
	int ret = QBack(&q);
	printf("%d\n", ret);

	QDestroy(&q);
	
	return 0;
}